import { ResultEnum } from '../../enums/httpEnum'

const userList = {
  current: 1,
  pages: 10,
  size: 10,
  total: 50,
  'records|50': [
    {
      'id|+1': 1,
      userId: '@id',
      userAccount: '@name',
      userName: '@cname',
      email: '@email',
      createDate: '@date', //创建时间
      rolePermit: [
        {
          roleId: '1',
          roleName: '管理员'
        },
        {
          roleId: '',
          roleName: '系统管理员'
        }
      ],
      phoneNumber: '15555555555',
      userStatus: 0
    }
  ]
}

const userDetail = {
  rolePermit: [
    {
      roleId: '1',
      roleName: '管理员'
    },
    {
      roleId: '',
      roleName: '系统管理员'
    }
  ],
  'id|+1': 1,
  userId: '@id',
  userAccount: '@name',
  userName: '@cname',
  email: '@email',
  phoneNumber: '15555555555',
  userStatus: 0
}
export default {
  userList,
  userDetail
}
